<?php

class Html_Element_Cancel extends Html_Element_Button
{

	protected $_name = '_cancel';

	protected $_meta = array(
			'noLabel' => 1,
			'tag' => 'button',
			'render' => '@cancel',
			'href' => '',
			'label' => 'cancel'
	);

	protected $_attrib = array(
			'type' => 'button',
			'name' => '_cancel',
			'class' => 'cancel',
	);

	public function setHref($value)
	{
		$this -> _meta['href'] = $value;
		return $this;
	}

	public function getHref()
	{
		return isset($this -> _meta['href']) ? $this -> _meta['href'] : '';
	}

}
